/*=+--+=#=+--     Unmanned Aerial System Management Software      --+=#=+--+=#*\
|          Copyright (C) 2011 Regents of the University of Colorado.           |
|                             All Rights Reserved.                             |

     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2 as
     published by the Free Software Foundation.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.

            Jack Elston                       Cory Dixon                        
|           elstonj@colorado.edu              dixonc@colorado.edu              |
|                                                                              |
\*=+--+=#=+--                 --+=#=+--+=#=+--                    --+=#=+--+=#*/

/*!
  \file search.cxx
	\brief class implemenation for search

                    \author Jack Elston
             $Date: 2005/02/12 00:20:45 $
*/

#include "search.h"

float lat_min;
float lat_max;
float lat_step;
float lon_max;
float lon_step;

float search_grid [100];

void search_Init() {
  for(int i=0;i<10;i++)
    for(int j=0;j<10;j++)
      search_grid[i*10+j] = 1.0;
}

void search_PrintGrid() {
  cout << "--------------------------------------------" << endl;
  for(int i=0;i<10;i++) {
    cout << "|" << flush;
    for(int j=0;j<10;j++)
      cout << search_grid[i*10+j] << "|" << flush;
    cout << endl;
  }
  cout << "--------------------------------------------" << endl;
}
